Another typo
authorjustbur <justin@burkett.cc>
Thu, 9 Jul 2015 16:33:36 +0000 (12:33 -0400)
committerjustbur <justin@burkett.cc>
Thu, 9 Jul 2015 16:33:36 +0000 (12:33 -0400)
which-key.el

index bdbf9c70d4e70bb930b2a5dd564324a41734d9f6..094f3324891ea554d3aba3a65447c1a73a2ade51 100644 (file)
@@ -225,7 +225,7 @@ bottom."
   ;; TODO: Make interactive
   (when (not (symbolp mode))
     (error "MODE should be a symbol corresponding to a value of major-mode"))
-  (let ((mode-alist (cdr (assq which-key-key-based-description-replacement-alist))))
+  (let ((mode-alist (cdr (assq mode which-key-key-based-description-replacement-alist))))
     (setq mode-alist (which-key//add-key-based-replacements
                       mode-alist key repl more)
           which-key-key-based-description-replacement-alist